﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DO.Clustering
{
    public class Feature : IComparable<Feature>
    {
        public int FeatureID { get; set; }
        public string Name { get; set; }
        public double Weight { get; set; }

        #region Implementation of IComparable<Feature>

        public int CompareTo(Feature other)
        {
            return other.Weight.CompareTo(this.Weight);
        }

        #endregion
    }
}
